package com.xhj.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 课程科目(EduSubject)实体类
 *
 * @author makejava
 * @since 2021-02-24 22:23:09
 */
@TableName("edu_subject")
@Data
public class Subject implements Serializable {
    private static final long serialVersionUID = -83688000447828326L;
    /**
    * 课程类别ID
    */
    @TableId(value = "id",type = IdType.ID_WORKER_STR)
    private String id;
    /**
    * 类别名称
    */
    private String title;
    /**
    * 父ID
    */
    private String parentId;
    /**
    * 排序字段
    */
    private Long sort;
    /**
    * 创建时间
    */
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;
    /**
    * 更新时间
    */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;
    
}